package com.leanin.form.mapper;

import com.leanin.form.model.LeaninSatisfyFormDept;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LeaninSatisfyFormDeptMapper {
    int deleteByPrimaryKey(Long id);

    int insert(LeaninSatisfyFormDept record);

    int insertSelective(LeaninSatisfyFormDept record);

    LeaninSatisfyFormDept selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(LeaninSatisfyFormDept record);

    int updateByPrimaryKey(LeaninSatisfyFormDept record);

    void insertList(@Param("params") List<LeaninSatisfyFormDept> params);

    void deleteByFormId(@Param("formId") Long formId);
}